<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020.06.22
  Time: 上午 9:29
  To change this template use File | Settings | File Templates.
--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>

<fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
    <legend>基本信息</legend>
</fieldset>

<table class="layui-table" lay-even="" lay-skin="nob">
    <colgroup>
        <col width="150">
        <col width="250">
        <col width="200">
        <col>
    </colgroup>

    <tbody>
    <tr>
        <td>用户名</td>
        <td>${sessionScope.admin.account}</td>

    </tr>
    <tr>
        <td>真实姓名</td>
        <td>${sessionScope.admin.real_name}</td>
        <td>电话号码</td>
        <td>${sessionScope.admin.phone_number}</td>
    </tr>

    <tr>
        <td>邮箱</td>
        <td>${sessionScope.admin.email}</td>
        <td>角色</td>
        <td>${role.name}</td>
    </tr>
    <tr>
        <td>创建时间</td>
        <td>${sessionScope.admin.create_time}</td>
        <td>上一次登录时间</td>
        <td>${sessionScope.admin.last_login_time}</td>
    </tr>
    </tbody>
</table>


<script src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>

</script>

</body>
</html>